package com.example.adms.depart.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalTime;


@Data
public class Depart {
    @TableId(type = IdType.AUTO)
    private Integer departId;//部门id
    private String departName;//部门名
    private Integer departLeaderId;//部门领导id
    @JsonFormat(pattern = "HH:mm")
    private LocalTime workonTime;//上班时间
    @JsonFormat(pattern = "HH:mm")
    private LocalTime workoffTime;//下班时间
}
